home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000277_news@watsun.cc.columbia.edu _Wed Feb 24 20:29:52 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA08566
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 24 Feb 1999 20:29:51 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA12621
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 24 Feb 1999 20:19:23 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Mickey Stein <yekkim@cts.com>
  10. Subject: Re: Setserial High Speed Help
  11. Date: Wed, 24 Feb 1999 17:19:19 -0800
  12. Organization: CTS Network Services
  13. Message-ID: <36D4A517.F6F35A3E@cts.com>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. I know I missed 99% of this thread but I've got a 16750 UART and an ISDN modem.
  17. The UART is capable of 921,600 baud_total. The Modem is capable of 230400 via a
  18. special command to the modem. To setup the UART via setserial in Linux, I've got
  19. to use a "setserial /dev/ttySx UART 16750 baud_total 921600 baud_divisor 4
  20. spd_cust" command but forgive me for the syntax errors since I'm not in linux at
  21. the moment. It's close to that command anyway. This allows the UART to operate at
  22. 921600 (which is the true top speed for the 16750) divided by 4 which is the
  23. divisor that'll give you 230400 and then spd_cust tells it that when you set the
  24. baud rate to 38,400 to REALLY run at 230,400. I know that sounds insane but do a
  25. man on setserial and check it out. No way can I do a setserial 230400 or ppp baud
  26. set = 230400 and get anything to work.
  27.  
  28. The second part is whether you're using a modem on this serial port and if so :
  29. is it an isdn modem or some modem that is really designed to operate at 230400?
  30. There's only 2 isdn modems that I know of (bitsurfer and 3com iq) that'll run at
  31. this speed and even then they won't take typed in "AT" commands at that speed. As
  32. far as kermit goes , I'd think your only shot at getting it to work at 230k is
  33. via a null-modem cable direct connect.
  34.  
  35. sorry if I missed the 'plot' to this story but I hope some of that stuff above is
  36. of some use.
  37.  
  38.     mick
  39.  
  40.  
  41. Frank da Cruz wrote:
  42.  
  43. > In article <yn0B2.158$ux2.591@news15.ispnews.com>,  <conover@inow.com> wrote:
  44. > : C. Lance Moxley writes:
  45. > : >
  46. > : > Here is what happens when I try to go to 230400bps:
  47. > : >
  48. > : > (/home/clm/) C-Kermit>set speed 230400
  49. > : > ?SET SPEED fails, speed is 110
  50. > : >
  51. > : > It says that it is compiled to go to 460800:
  52. > : >
  53. > : > (/home/clm/) C-Kermit>set speed ? Transmission rate for /dev/cua2 in
  54. > : >  bits per second, one of the following:
  55. > : >  110     1200    150     19200   230400  300     460800  50   600  9600
  56. > : >  115200  134.5   1800    200     2400    38400   4800    57600   75
  57. > : >
  58. > : > When I drop to 115200 it works fine.
  59. > :
  60. > : I don't know, but it might be aserial card problem. I think the RS232
  61. > : has a 115200 limit.
  62. > :
  63. > Not really.  If there is any limit at all in the standard, last time I looked
  64. > it was 20000 bps.  The following issues are pertinent for each speed:
  65. >
  66. >  1. Is there an API to set the speed?
  67. >
  68. >  2. If there is an API, will the driver accept the speed?
  69. >
  70. >  3. If the driver accepts the speed, will the device be able to use it?
  71. >
  72. >  4. If the device can use it, will it work?
  73. >
  74. > The latter depends on electricity, information theory, etc.  How long is
  75. > the cable, what is its capacitance, how well is it shielded, etc, not to
  76. > mention that every connection has two ends and its success depends on both
  77. > of them.  (With the obvious caveats about internal modems, is the cable
  78. > really connected, interrupt conflicts, etc etc etc).
  79. >
  80. > In C-Kermit 7.0:
  81. >
  82. >  1. If there is an API to set the speed, the speed appears in the
  83. >     "set speed ?" list (determined at compile time).  If a speed does not
  84. >     appear in the list, that means it was not found in the header files
  85. >     on the computer where Kermit was built.  If your computer's header
  86. >     files include additional speeds, rebuild Kermit on your computer to
  87. >     pick them up.
  88. >
  89. >  2. If the driver does not accept the speed, or gets an error trying to
  90. >     set it in the device, Kermit reports an error (determined at run time).
  91. >
  92. >  3. If Kermit does not report an error, then the APIs have told Kermit
  93. >     that the speed was set successfully.  But this still does not guarantee
  94. >     it will work, because no software can control factors outside the
  95. >     computer.
  96. >
  97. > - Frank
  98.